import { defHttp } from "@/utils/http";
import { generalApi } from "./utils";

/** 字典 */
export const getDictList = <T>(data?: object) => {
  // 传dictCode{ dictCode: '' }
  return defHttp.post<T>({
    url: generalApi("/dict/label/list"),
    data
  });
};